<!--
*@Author: QWP
*@Description: 分页控件
*@Date 2023-06-18 12:28
-->
<template>
  <a-pagination v-bind="$attrs" 
    show-less-items
    v-model:current="$attrs.pagination.current"
    v-model:pageSize="$attrs.pagination.pageSize"
    :total="$attrs.pagination.total"
    :size="$attrs['size'] || 'small'"
    :show-total="total => `共 ${total} 条`"/>
</template>

<script lang='ts' setup>
defineOptions({
  name: 'u-page-nation'
})
import { ref, reactive } from 'vue' 

</script>

<style lang='scss' scoped>
</style>